<html>
<head>
<title> Restoring Data From Backup Archives </title>
<meta name="Keywords" content="" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="stylesheet.css"/>
<script src="locate.js"></script>
<link href="prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="prettify.js"></script>
</head>
<script src="highlight.js"></script>
<body bgcolor="#FFFFFF" text="#000000" link="#0000A0" alink="#008000" vlink="#FF0000" onLoad="FindCorrectTOCPage(); prettyPrint()">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td>
<p class="pagenavigation"><a href="31464.htm" target="_self"><img src="38976.gif" alt="Previous page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"> Previous page</a></p></td>
<td>
<p class="pagenavigation"><a href="21134.htm" target="_self"><img src="38977.gif" alt="Next page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"> Next page</a></p></td>
<td>
<p class="pagenavigation"><a href="toc41518198.htm" target="TOC"><img src="38970.gif" alt="Locate page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"> Locate page</a></p></td>
<td>
<p class="pagenavigation"><a href="toc41518198.htm" target="TOC"><a class="" title="" href="javascript:print();" target="_self"><img src="39072.gif" alt="Print this page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"></a></a></p></td>
</tr>
</table>
<h2 class="heading2">Restoring Data From Backup Archives</h2>
<p class="bodytext">You can restore data backed up by Plesk 7.5.4 control panel. Before you restore such data, you need to log in as root to your server and run the conversion utility for each backup file created by 7.5.4 as follows:</p>
<p class="bodytext"><code class="monospace">plesk_installation_directory/bin/backup-convert.py convert -o  &lt;new backup file name&gt; &lt;old backup file name&gt;</code>, where &lt;new backup file name&gt; is the path to the new backup file created by the conversion utility, and &lt;old backup file name&gt; is a backup file created by Plesk 7.5.4.</p>
<p class="procedureheading">To restore the server configuration and all user data from a backup file:</p>
<ol class="procedurelistnumber"><li class="procedurelistnumber">Log in as root to your server.</li><li class="procedurelistnumber">Change to the directory, where Plesk is installed:<p class="listcontinue"><code class="monospace">cd /plesk_installation_directory/bin</code></p>
</li><li class="procedurelistnumber">Generate a file that defines mapping of items (user accounts, sites, etc.) stored in the backup file to the items currently served by your Plesk hosting platform. To do this, run the following command from the command line:<p class="listcontinue"><code class="monospace">./pleskrestore --create-map &lt;backup file name&gt; -map &lt;map file name&gt;</code></p>
<p class="listcontinue">If you have a multivolume backup, you should specify the first volume as the &lt;backup file name&gt;.</p>
<p class="listcontinue">A mapping file will be generated and saved to the specified location. In most cases you will not need to edit this file: you will need to review its contents and specify mapping for items only if you fail to restore data from a backup due to object conflicts (for example, the range of IP addresses listed in the backup file is different from those available on the server), or if you wish to specify individual objects that should be restored. </p>
</li><li class="procedurelistnumber">To restore all backed up data, including server and control panel configuration, applications vaults, user accounts, web sites, databases, and mailboxes with e-mail messages, run the command:<p class="listcontinue2"><code class="monospace">./pleskrestore --restore &lt;backup file name&gt; -map &lt;map file name&gt; -level all</code></p>
<p class="listcontinue">where the &lt;backup file name&gt; and &lt;map file name&gt; are the paths to the backup and map files, respectively. If you have a multivolume backup, you should specify the first volume as the &lt;backup file name&gt;. The data will be restored without disruption of hosting services and downtime. The server configuration settings and all user data (including the content of Web sites and messages in mailboxes) will be overwritten.</p>
</li></ol><p class="bodytext"></p>
<p class="procedureheading">To restore a user account with domains:</p>
<ol class="procedurelistnumber"><li class="procedurelistnumber">Click the <strong class="specialbold">Clients</strong> shortcut in the navigation pane.</li><li class="procedurelistnumber">Click the client name you need.</li><li class="procedurelistnumber">Click the <strong class="specialbold">Backup</strong> icon in the<strong class="specialbold"> Tools</strong> group.</li><li class="procedurelistnumber">If you wish to restore data from a file stored on an FTP server, click the <strong class="specialbold">FTP Repository</strong> tab.</li><li class="procedurelistnumber">Click the backup file name you need.</li><li class="procedurelistnumber">Select the <strong class="specialbold">Restore client's preferences and account details</strong> check box.</li><li class="procedurelistnumber">Select the domains that you would like to restore.</li><li class="procedurelistnumber">Click <strong class="specialbold">Next &gt;&gt;</strong>. <p class="listcontinue">If this account or any of its domains were assigned other IP addresses or database servers than specified in the backup file, you will be prompted to resolve the conflicts by selecting the new IP address and database server to use. Click <strong class="specialbold">Next &gt;&gt;</strong>.</p>
</li><li class="procedurelistnumber">Restoring will start and its progress will be shown. To update the information on the screen, click <strong class="specialbold">Refresh</strong>. </li><li class="procedurelistnumber">Upon completion of the restoring process click <strong class="specialbold">OK</strong>.</li></ol><p class="bodytext"></p>
<p class="procedureheading">To restore a domain (Web site):</p>
<ol class="procedurelistnumber"><li class="procedurelistnumber">Click the <strong class="specialbold">Domains</strong> shortcut in the navigation pane.</li><li class="procedurelistnumber">Click the domain name you need.</li><li class="procedurelistnumber">Click the <strong class="specialbold">Backup</strong> icon in the<strong class="specialbold"> Tools</strong> group.</li><li class="procedurelistnumber">If you wish to restore data from a file stored on an FTP server, click the <strong class="specialbold">FTP Repository</strong> tab.</li><li class="procedurelistnumber">Click the backup file name you need.</li><li class="procedurelistnumber">Click <strong class="specialbold">Restore Now</strong>.<p class="listcontinue">Restoring will start and its progress will be shown. To update the information on the screen, click <strong class="specialbold">Refresh</strong>.</p>
</li><li class="procedurelistnumber">Upon completion of the restoring process click <strong class="specialbold">OK</strong>.</li></ol><p class="bodytext"></p>


</body>
<script>highlightTOC()</script>
</html>

